package com.quwan.config.yml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author quan
 * @date 2021-12-05 18:03
 */
@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WxpayConfig {
    /**
     * 应用id
     */
    private String appId;
    /**
     * 应用密钥
     */
    private String appSecret;
    /**
     * 商户号
     */
    private String mchId;
    /**
     * 接口调用密钥
     */
    private String apiPrivateKey;
    /**
     * 服务器ip
     */
    private String onlineIp;
    private String sessionHost;
    /**
     * 社交登录接口
     */
    private String oauth2Host;
    private String grantType;
    /**
     * 支付接口
     */
    private String payInterfaceUrl;
    /**
     * 转账接口
     */
    private String transferInterfaceUrl;
    private String orderNotify;
    private String rechargeNotify;
    private String vipNotify;
    private String notifyUrl;
    private String certPath;
    private String userInfoInterface;
}
